#define _CRT_SECURE_NO_WARNINGS 1
#include <stdio.h>

int main() {
    int a, po = 0, ne = 0, i = 10;
    while (scanf("%d", &a) != EOF) {
        if (a > 0)
            po++;
        else
            ne++;
        i--;
        if (i == 0)
            break;
    }
    printf("positive:%d\nnegative:%d\n", po, ne);
    return 0;
}